package com.weseal.exception;

/**
 * @author weseal
 * @title
 * @description
 * @usage
 * @copyright Copyright 2014  rrmj Corporation. All rights reserved.
 * @company 上海众多美网络科技有限公司
 * @create 2017/9/10
 */
public class RoleException extends BaseException {

	/**
	 * 角色异常前缀
	 */
	private final static String PRE_EXCEPTION = "15";
	public static RoleException ROLE_NOT_FIND_EXCEPTION = new RoleException("01", "当前角色不存在");
	public static RoleException ROLE_COLLECTION_EMPTY = new RoleException("02", "角色列表为空");

	public RoleException(String code, String message) {
		super(PRE_EXCEPTION + code, message);
	}
}
